package cn.cjx.user.mapper;

import cn.cjx.basic.mapper.BaseMapper;
import cn.cjx.org.domain.Employee;
import cn.cjx.user.domain.Logininfo;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cjx
 * @since 2022-05-08
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {


	Logininfo loadByAccountAndType(@Param("username") String username, @Param("type") Integer type);

	Logininfo loadByUserId(Long userId);


}
